//package com.pengshun.modules.api.adapay.controller;
//
//import com.pengshun.modules.api.adapay.service.AdaPayService;
//import com.pengshun.modules.api.coal.validator.Second;
//import com.pengshun.modules.api.order.service.dto.MerchantOrderDto;
//import com.pengshun.modules.common.BaseResult;
//import com.pengshun.modules.common.BillType;
//import com.pengshun.modules.domain.User;
//import com.pengshun.modules.security.Authorization;
//import com.pengshun.modules.security.CurrUserInfo;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//import lombok.RequiredArgsConstructor;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//import springfox.documentation.annotations.ApiIgnore;
//
//import javax.servlet.http.HttpServletRequest;
//
///**
// * @author luoligang
// * @create 2021/2/25
// */
//@RestController
//@RequiredArgsConstructor
//@Api(tags = "取现相关")
//@RequestMapping("/api/ada/pay")
//@ApiIgnore
//public class AdaPayController {
//
//    private final AdaPayService adaPayService;
//
//    @ApiOperation(value = "创建用户")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "userId", value = "商户煤炭id", dataType = "int", required = true, paramType = "query"),
//    })
//    @PostMapping(value = "/add-member", produces = "application/json; charset=utf-8")
//    @Authorization
//    public BaseResult addMember(Long userId) throws Exception {
//        BaseResult result=adaPayService.addMember(userId);
//        return   result;
//    }
//
//
//    @ApiOperation(value = "取现回调接口", notes = "")
//    @RequestMapping(value = "/notify", method = RequestMethod.POST, produces = "application/json; charset=utf-8")
//    public String payNotify(HttpServletRequest request) throws Exception {
//        String res = adaPayService.notifys(request);
//        return res;
//
//    }
//
//}
